package com.toune.movie.mvp.presenter;


import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.contract.MovieMainContract;
import com.toune.movie.mvp.fragment.MovieMainFragment;
import com.toune.movie.mvp.model.MovieMainModel;
import com.toune.movie.vo.VarietyVo;

import java.util.List;

/**
 * Created by Administrator on 2018/5/9.
 */

public class MovieMainPresenter extends BasePresenterImpl<MovieMainFragment> implements MovieMainContract.Presenter {
    MovieMainModel tvVideoModel = new MovieMainModel(this);
    @Override
    public void setVo(List<VarietyVo> voList) {
        mView.setVo(voList);
    }

    @Override
    public void getVo(int page) {
        tvVideoModel.getVo(page);
    }

    @Override
    public void setHeaders(List<VarietyVo> voList) {
        mView.setHeaders(voList);
    }
}
